package com.monise.dao.BaseDao;

import java.io.Serializable;
import java.util.List;

import javax.persistence.EntityManager;

public interface BaseDao<T, ID extends Serializable> {

	public void save(T entity);

	public void remove(T entity);

	public T getById(Class<T> classe, ID pk);

	public List<T> getAll(Class<T> classe);

	public EntityManager getEntityManager();

}
